package com.stxx.stiot2.service;
import com.stxx.stiot2.domain.SysSocial;
import com.stxx.framwork.support.BaseService;
import com.stxx.stiot2.domain.SysUser;
import me.zhyd.oauth.model.AuthUser;

import java.sql.SQLException;

/**
 * @author fuzhenlei
 * @date 2025-05-26 15:55:45
 */
public interface SysSocialService extends BaseService<SysSocial,String> {
    int update(SysSocial bean, Boolean ignoreNull) throws SQLException;

    SysSocial queryByOpenId(String source, String openId) throws SQLException;
    SysUser loginUser(AuthUser user) throws SQLException;
}